package com.vrv.vap.server.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Menu)实体类
 *
 * @author makejava
 * @since 2021-06-24 17:26:12
 */
public class Menu implements Serializable {
    private static final long serialVersionUID = 580759329993872728L;
    
    private Integer id;
    /**
    * 菜单编码
    */
    private String code;
    /**
    * 菜单父编码
    */
    private String pCode;
    /**
    * 父菜单ID
    */
    private String pId;
    /**
    * 名称
    */
    private String name;
    /**
    * 请求地址
    */
    private String url;
    /**
    * 是否是菜单(1.菜单。2.按钮)
    */
    private Integer isMenu;
    /**
    * 菜单层级
    */
    private Integer level;
    /**
    * 菜单排序
    */
    private Integer sort;
    
    private Integer status;
    
    private String icon;
    
    private Date createTime;
    
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPCode() {
        return pCode;
    }

    public void setPCode(String pCode) {
        this.pCode = pCode;
    }

    public String getPId() {
        return pId;
    }

    public void setPId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getIsMenu() {
        return isMenu;
    }

    public void setIsMenu(Integer isMenu) {
        this.isMenu = isMenu;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}